package com.dgut.sales.bean;

import java.util.Date;

public class Purchase {
	private Integer id;
	private Integer goodsId;
	private String goodsName;
	private Integer number;
	private Date time;
	private Integer States;
	
	
	public Purchase() {
		super();
	}
	
	public Purchase(Integer goodsId, String goodsName, Integer number, Date time, Integer states) {
		super();
		this.goodsId = goodsId;
		this.goodsName = goodsName;
		this.number = number;
		this.time = time;
		States = states;
	}

	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getGoodsId() {
		return goodsId;
	}
	public void setGoodsId(Integer goodsId) {
		this.goodsId = goodsId;
	}
	public String getGoodsName() {
		return goodsName;
	}
	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}
	public Integer getNumber() {
		return number;
	}
	public void setNumber(Integer number) {
		this.number = number;
	}
	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = time;
	}
	public Integer getStates() {
		return States;
	}
	public void setStates(Integer states) {
		States = states;
	}
	

}
